import 'package:wch/generated/json/base/json_field.dart';
import 'package:wch/generated/json/acquisition_entity.g.dart';
import 'dart:convert';
export 'package:wch/generated/json/acquisition_entity.g.dart';

@JsonSerializable()
class AcquisitionEntity {
	List<AcquisitionAcquisitionLabelList>? acquisitionLabelList;

	AcquisitionEntity();

	factory AcquisitionEntity.fromJson(Map<String, dynamic> json) => $AcquisitionEntityFromJson(json);

	Map<String, dynamic> toJson() => $AcquisitionEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AcquisitionAcquisitionLabelList {
	String? id;
	String? name;
	String? colour;
	int? type;
	String? status;
	String? text;
	String? hospitalId;

	AcquisitionAcquisitionLabelList();

	factory AcquisitionAcquisitionLabelList.fromJson(Map<String, dynamic> json) => $AcquisitionAcquisitionLabelListFromJson(json);

	Map<String, dynamic> toJson() => $AcquisitionAcquisitionLabelListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}